import axios from 'axios';

export const getEmailConfig = () => {
  return axios.get('/api/system/getEmailConfig');
};

export const updateEmailConfig = body => {
  return axios.post('/api/system/configEmail', body);
};

export const sendTestMail = body => {
  return axios.post('/api/system/sendTestMail', body);
};
